<%@ page contentType="text/html;charset=UTF-8" language="java"
isELIgnored="false" %>
<%@ include file="../includes/common.jsp" %>


 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta name="META_MAIN_MENU_ID" content="ADMIN_HOME" />
        <title>博主信息修改</title>
        <meta name="search" content="price" />
        <meta name="author" content="chunhai.chen(15317227@qq.com)" />
    </head>
    <body>
        <div style="padding:20px;">
        	
            <c:if test="${not empty person}">
            <form:form action="/admin/editprofile.htm"  commandName="person" method="put" enctype="multipart/form-data">
			<%--Any fields they're not filling in have to be carried over in hidden fields because of request scoping --%>
			<form:hidden path="uid" />
			<font color="red"><form:errors path="*" /> </font>
			<table width='100%' id="customerTable" class="yui-grid">
				<thead>
					<tr>
						<th colspan="2" align='left' nowrap> <p style='font-size: 20px;margin:0'>博主信息修改</p> </th>
					</tr>
				</thead>
			
            	<tr><td nowrap>名称</td><td>${person.name }</td></tr>
            	<tr><td nowrap>电邮地址</td><td>${person.email }</td></tr>
            	<tr><td nowrap>头像</td><td><input name="multipartFile" type="file" size="60"/>(头像大小为： 32X32)</td></tr>

            	<tr><td nowrap>签名</td>
            		<td>
            			<form:textarea path="signature" rows="3" cols="75" />&nbsp;<span style="float:right;"><img width="32" height="32" alt="" src="/avatar/icon/${person.uid}.avatar" class="avatar avatar-32 photo"></span>
            			<br>签名内容长度必须小于200个字符，否则不能在友博上正常展示
            		</td> 
            	</tr>
            	<tr><td nowrap>个人介绍</td>
            		<td><form:textarea path="longDesc" rows="6" cols="80" />
						<script type="text/javascript">CKEDITOR.replace( 'longDesc', { customConfig : '/js/ckeditor/config_basic.js' } );</script>
            		</td> 
            	</tr>

				<tr>
					<td></td>
					<td><p class="submit"><input type="submit" value="修改" /></p></td>
				</tr>
						
			</table>
			</form:form>
            </c:if>
        </div>
    </body>
</html>



